//
//  JJotherBottomView.h
//  JJHW_coreData
//
//  Created by lizhenqiang on 16/4/19.
//  Copyright © 2016年 HFKJ_LZQ. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SplashChild.h"
#import "bottomViewCell.h"
typedef NS_ENUM(NSInteger,KbottomViewType) { //默认都是固定的，均匀分布5个的宽度 鲸搭乘可以滑动的
    KbottomViewTypeShoping=0,//鲸购物
    KbottomViewTypeMS , //鲸美食
    KbottomViewTypeGG,//鲸观光
    KbottomViewTypeDC,//鲸搭乘
    KbottomViewTypeKB//鲸快报
};

typedef void(^JJotherCallBackBlock)(SplashChild*);

@interface JJotherBottomView : UIView<UITableViewDelegate,UITableViewDataSource>

@property(strong, nonatomic)UITableView *tableview;
@property(strong, nonatomic)JJotherCallBackBlock block;
@property(nonatomic)CGFloat myWidth;
@property(nonatomic)CGFloat myHeight;
@property(strong, nonatomic)NSMutableArray *objArray;
@property(strong, nonatomic)UIButton *allBtn;//全部btn
@property(assign, nonatomic)BOOL isScrollFlag;//是否能滑动
@property(assign, nonatomic)KbottomViewType bottomType;
@property(assign, nonatomic)int selectedRow;
-(void)setViewData:(NSMutableArray *)array andTitle:(NSString *)title;
@end
